import useCounterStore from './counter'
import useUserStore from './user'

export default function useStore() {
  return {
    counter: useCounterStore(),
    user: useUserStore(),
  }
}

// 下面写法不对，useCounterStore 必须在函数里面调用
/* export default {
  counter: useCounterStore(),
  user: useUserStore(),
} */
